//
// Created by ChenJi on 2021/7/30.
//

#ifndef ZIGBEEDEVICE_UARTCONTROLLER_H
#define ZIGBEEDEVICE_UARTCONTROLLER_H
#include "main.h"
__weak void onUart1Message(uint8_t* data,uint16_t size);
__weak void onUart3Message(uint8_t* data,uint16_t size);
void HC_UartController_Init();

void sendMessageUart1(uint8_t*data,uint8_t size);

void sendMessageUart3_DMA(uint8_t*data,uint8_t size);
void sendMessageUart1_DMA(uint8_t*data,uint8_t size);
void sendMessageUart3(uint8_t*data,uint8_t size);
#endif //ZIGBEEDEVICE_UARTCONTROLLER_H
